package com.example.test;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.CheckBox;
import android.widget.GridView;
import android.widget.ImageButton;

public class MainActivity extends Activity {
	private GridView selectDivice;
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
       // selectDivice=(GridView) findViewById(R.id.selectDivice);
     //   selectDivice.setAdapter(new ImageAdapter(this));
      /*  control=(ImageButton) findViewById(R.id.imageButton1);
       // check  = (CheckBox)	findViewById(R.id.checkBox1);
       control.setOnClickListener(new OnClickListener() {
			
			public void onClick(View v) {
				// TODO Auto-generat
				
				if(change==true){
					control.setImageResource(R.drawable.images);
					change=false;
					}
				else{
					control.setImageResource(R.drawable.download);
					change=true;
					}
				
			}
		});*/
       
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_main, menu);
        return true;
    }
}
